:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  
  color-scheme: light dark;
  color: #fff;
  background-color: #333;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,body {
  margin: 0;
  padding: 0;
}

#app {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 0;
  width: 10rem;
  transform: translate(-50%, 0);
  font-size: 0;
  overflow: hidden;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #333;
    background-color: #f5f5f5;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color: #fff;
    background-color: #333;
  }
  input {
    background-color: #fff;
    color: #333;
    color-scheme: light;
  }
  select {
    color-scheme: light;
  }
}